﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MoControls.Markup;

namespace MoControls.Controls
{
    [MarkupElement("Panel", typeof(Panel))]
    public class Panel
        : Control, IAddChildrenControl
    {
        #region Fields

        private UIElementsCollection children;

        #endregion

        #region Properties

        public UIElementsCollection Children
        {
            get 
            {
                return this.children;
            }
        }

        #endregion

        #region .ctor

        public Panel()
            : base()
        {
            this.children = new UIElementsCollection();
        }

        #endregion
    }
}
